package com.zhou.bpm.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（审批历史）
 * @CreateTime: 2023/10/26 10:24
 */
@Data
@ApiModel(description = "审批历史")
public class HistoryVo implements Serializable {

    @ApiModelProperty("节点名称" )
    private String nodeName;

    @ApiModelProperty("节点Code" )
    private String nodeCode;

    @ApiModelProperty("审批类型（1-会签审批，2-抢签审批）" )
    private String approveType;

    @ApiModelProperty("实际审批人账号" )
    private String actualApprover;

    @ApiModelProperty("实际审批人姓名")
    private String actualApproverName;

    @ApiModelProperty("审批动作：0-流程发起,1-默认值无意义,2-审批通过,3-退回上一节点,4-退回申请人节点,5-路由任意节点,6-发起人测回,7-发起人作废")
    private String action;

    @ApiModelProperty("审批动作：0-流程发起,1-默认值无意义,2-审批通过,3-退回上一节点,4-退回申请人节点,5-路由任意节点,6-发起人测回,7-发起人作废")
    private String actionText;

    @ApiModelProperty("待办处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty("审批人列表")
    private List<HistoryApproverVo> approverVoList;


}
